<?xml version="1.0" encoding="utf-8" standalone="no"?>
<plan>

    <tableName>${table.tableName}</tableName>
    <tableType>${table.tableType}</tableType>
    <tableAlias>${table.tableAlias}</tableAlias>
    <remarks>${table.remarks}</remarks>
    <className>${table.className}</className>
    <javaProperty>${table.javaProperty}</javaProperty>
    <catalog>${table.catalog}</catalog>
    <schema>${table.schema}</schema>
    <baseColumns>
	<#list table.baseColumns as column>
        <baseColumn columnName="${column.columnName}" jdbcType="${column.jdbcType}">
            <primaryKey>${column.primaryKey}</primaryKey>
            <foreignKey>${column.foreignKey}</foreignKey>
            <size>${column.size}</size>
            <decimalDigits>${column.decimalDigits}</decimalDigits>
            <nullable>${column.nullable}</nullable>
            <unique>${column.unique}</unique>
            <indexed>${column.indexed}</indexed>
            <autoincrement>${column.autoincrement}</autoincrement>
            <defaultValue>${column.defaultValue}</defaultValue>
            <remarks>${column.remarks}</remarks>
            <jdbcTypeName>${column.jdbcTypeName}</jdbcTypeName>
            <javaProperty>${column.javaProperty}</javaProperty>
            <javaType>${column.javaType}</javaType>
            <fullJavaType>${column.fullJavaType}</fullJavaType>
            <editor>${column.editor}</editor>
            <display>${column.display}</display>
            <searchable>${column.searchable}</searchable>
            <dict>${column.dict}</dict>
            <ui>${column.ui}</ui>
            <fullRow>${column.fullRow}</fullRow>
            <require>${column.require}</require>
            <editable>${column.editable}</editable>
        </baseColumn>
    </#list>
    </baseColumns>
    
    <primaryKeys>
    <#list table.primaryKeys as key>
	    <primaryKey columnName="${key.columnName}" jdbcType="${key.jdbcType}">
	        <primaryKey>${key.primaryKey}</primaryKey>
            <foreignKey>${key.foreignKey}</foreignKey>
            <size>${key.size}</size>
            <decimalDigits>${key.decimalDigits}</decimalDigits>
            <nullable>${key.nullable}</nullable>
            <unique>${key.unique}</unique>
            <indexed>${key.indexed}</indexed>
            <autoincrement>${key.autoincrement}</autoincrement>
            <defaultValue>${key.defaultValue}</defaultValue>
            <remarks>${key.remarks}</remarks>
            <jdbcTypeName>${key.jdbcTypeName}</jdbcTypeName>
            <javaProperty>${key.javaProperty}</javaProperty>
            <javaType>${key.javaType}</javaType>
            <fullJavaType>${key.fullJavaType}</fullJavaType>
            <editor>${key.editor}</editor>
            <display>${key.display}</display>
            <searchable>${key.searchable}</searchable>
            <dict>${key.dict}</dict>
            <ui>${key.ui}</ui>
            <fullRow>${key.fullRow}</fullRow>
            <require>${key.require}</require>
            <editable>${key.editable}</editable>
	    </primaryKey>
	</#list>
	</primaryKeys>
</plan>
